package edu.njupt.ssm.dao;

import edu.njupt.ssm.bean.Product;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

/**
 * @Title: ProductDao
 * @Author:孙尊义
 * @version:1.0
 * @since:1.0
 * @Date 2024/11/5 13:40
 */
@Mapper
public interface ProductDao {

    Double selectTurnover(String format);

    List<Product> selectAllProducts();

    List<Product> selectProductsByName(String name);

    void insertProduct(Product product);
}
